package com.ctgu.Bird;

import com.ctgu.Bird.BirdBehavior.FlyBehavior;
import com.ctgu.Bird.BirdBehavior.FreeFly;
import com.ctgu.Bird.BirdBehavior.SwimBehavior;

public class Bird {
    private SwimBehavior swimBehavior;
    private FlyBehavior flyBehavior;
    public Bird() {
        System.out.println("Bird is created.");
    }
    public void fly() {
        System.out.println("Bird is flying.");
    }
    public void swim() {
        System.out.println("Bird can swimming?");
    }
    public void display() {
        System.out.println("Bird is displayed.");
    }
}
